package com.dailyblue.java.spring.ioc.content;

// 单例和多例
public class DemoF {

    public DemoF() {
        System.out.println("DemoF====>DemoF类的对象被产生了！");
    }

    static {
        System.out.println("DemoF====>DemoF类被加载了！");
    }

    public void init() {
        System.out.println("DemoF类的初始化方法被调用了！");
    }

    public void destroy() {
        System.out.println("DemoF类的销毁方法被调用了！");
    }
}
